﻿<!--- ==================================================
NAME:	get_customer.cfm
DESC:	File used to get a customer.
=================================================== --->
<cfsetting enablecfoutputonly="yes">

<!--- default data --->
<cfparam name="arguments.customerid" type="any" default="">
<cfparam name="arguments.contactid" type="any" default="">
<cfparam name="arguments.cid" type="any" default="">
<cfparam name="arguments.send_cc" type="any" default="N">


<!--- build xml statement, define namespace and interface --->
<cfscript>
xi_namespace='#trim(application.xi_namespace)#:CUSTOMER:GetCustomer';
xi_interface='GetCustomer_OB';
xml = '<xtiinput>
	<inputheader>
		<actionset>
			<action>get_customer</action>
		</actionset>
	</inputheader>
	<inputdata>
		<system>#variables.system#</system>
		<customerid>#arguments.customerid#</customerid>
		<contactid>#arguments.contactid#</contactid>
		<cid>#arguments.cid#</cid>
		<send_cc>#ucase(arguments.send_cc)#</send_cc>
	</inputdata>
</xtiinput>';
</cfscript>